# Date： 2023/2/21 16:20
# 在程序中感悟吧


lst=[{'rating':[9.7,2062397],'id':'1292052','type': [ '犯罪','剧情'] ,"title" :"申克的救赎", 'actors':["花妈·罗实斯", "摩根·弗里曼"]},
	 {'rating':[9.6,1528760],'id':'1291546','type': [ '爱情','同性'] ,"title" :"霸王别姬", 'actors':["张国荣", "张丰教", "巩俐", "葛优"]},
	 {'rating':[9.5,1559181],'id':'1292720','type': [ "剧情","爱情"] ,"title" :"阿甘正传", 'actors':["汤姆·汉克斯","罗宾·怀特"]}]

name=input('请输入你要查询的演员：')
for item in lst:
	print(item)
	act_lst=item['actors']
	# print(act_lst)
	for actor in act_lst:
		if name in actor:
			print("参演电影：《" + item['title'] + "》")


